FROM java:8
EXPOSE 7001
VOLUME /tmp
ARG JAR_FILE
ADD target/${JAR_FILE} /protect-business.jar
RUN mkdir -p /config && mkdir -p /data/upload && mkdir -p /data/upload/temp && mkdir -p /data/evc
ENTRYPOINT ["java", "-jar","/data/evc/protect-business.jar"]